package com.lou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Insert;

import com.lou.enity.Product;

public interface ProductMapper {
    int insert(Product record);

    List<Product> selectAll();
    
    @Insert(" insert into product (p_id, p_name, p_type,p_price) values (#{pId}, #{pName}, #{pType}, #{pPrice})")
    int insertByZhujie(Product record);
}